package com.miao.admin.entity.vo;

import com.miao.common.entity.pojo.Address;

import java.util.ArrayList;

/**
 * @author MiaoWenqing
 * @description:  消费者
 * @date 2021/2/2 21:35
 */
public class CustomerVO {
    // 顾客id
    private Integer cusId;
    //昵称
    private String cusNickname;
    //头像链接
    private String cusAvatar;
    //性别 0 男 1女
    private Boolean cusGender;
    //手机号
    private String cusTel;

    //收货地址
    private ArrayList<Address> addresses;

    @Override
    public String toString() {
        return "CustomerVO{" +
                "cusId=" + cusId +
                ", cusNickname='" + cusNickname + '\'' +
                ", cusAvatar='" + cusAvatar + '\'' +
                ", cusGender=" + cusGender +
                ", cusTel='" + cusTel + '\'' +
                ", addresses=" + addresses +
                '}';
    }

    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    public String getCusNickname() {
        return cusNickname;
    }

    public void setCusNickname(String cusNickname) {
        this.cusNickname = cusNickname;
    }

    public String getCusAvatar() {
        return cusAvatar;
    }

    public void setCusAvatar(String cusAvatar) {
        this.cusAvatar = cusAvatar;
    }

    public Boolean getCusGender() {
        return cusGender;
    }

    public void setCusGender(Boolean cusGender) {
        this.cusGender = cusGender;
    }

    public String getCusTel() {
        return cusTel;
    }

    public void setCusTel(String cusTel) {
        this.cusTel = cusTel;
    }

    public ArrayList<Address> getAddresses() {
        return addresses;
    }

    public void setAddresses(ArrayList<Address> addresses) {
        this.addresses = addresses;
    }

    public CustomerVO() {
    }

    public CustomerVO(Integer cusId, String cusNickname, String cusAvatar, Boolean cusGender, String cusTel, ArrayList<Address> addresses) {
        this.cusId = cusId;
        this.cusNickname = cusNickname;
        this.cusAvatar = cusAvatar;
        this.cusGender = cusGender;
        this.cusTel = cusTel;
        this.addresses = addresses;
    }
}
